package vetAdmin.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import javax.swing.DefaultListModel;
import vetAdmin.model.Cliente;
import vetAdmin.model.Paciente;

public interface ClienteDAO {
    
    public Cliente getById(Connection conn, long id) throws SQLException;
    public ArrayList<Paciente> getPacientes(int id);
    public Cliente getByName(String name);
    public Collection<Cliente> getAll();
  //  public DefaultListModel getAll(Connection conn);
    public void save(Cliente c);
    public void deleteById(long id);
	public int nextIdValue();
    
    //getbyid getbyname getall save (create,update)
    
    
}
